package com.micaelvesterlund.skeerkie.shared.domain;

public class Player {
	private Name firstName;
	private Name lastName;
	private Skills skills;
	private Statistics statistics;

	public Player(Name firstName, Name lastName, Skills skills) {
		this.firstName = firstName;
		this.lastName = lastName;
		this.skills = skills;
		statistics = new Statistics();
	}

	public Statistics getStatistics() {
		return statistics;
	}

	public Skills getSkills() {
		return skills;
	}

	public Name getFirstName() {
		return firstName;
	}

	public Name getLastName() {
		return lastName;
	}

	@Override
	public String toString() {
		return "Player [firstName=" + firstName + ", lastName=" + lastName
				+ "]";
	}

	public int getOff() {
		return skills.getOff();
	}

	public int getDef() {
		return skills.getDef();
	}

}